import { nanoid } from 'nanoid'

export default function getUserTempId() {
    let userTempId = localStorage.getItem('userTemp3Id')

    if (!userTempId) {
        userTempId = nanoid();
        localStorage.setItem('userTemp3Id', userTempId)
    }
    return userTempId
}